package com.woniuxy.happylife.feign.feignClient;



import com.woniuxy.happylife.entity.ResponseEntity;
import com.woniuxy.happylife.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;


import java.util.List;

/**
 * @Classname SpringcloudProviterClient
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/1/21 14:38
 * @Created by hang
 */
//@FeignClient(value = "alibaba-springcloud-proviter",fallback = SpringcloudProviterClientImplFallback.class)
@FeignClient(value = "personaldata")
public interface UserClient {
    @RequestMapping("/personal/getUser")
    public ResponseEntity<List<User>> getUser();

}
